package com.emar.spring.common.util;

public class StringUtil {

	public static boolean isEmpty(String str){
		if("".equals(str) || str==null){
			return true;
		}
		return false;
	}
	
	public static boolean isNotEmpty(String str){
		if(!"".equals(str) && str!=null){
			return true;
		}
		return false;
	}
	
	public static boolean isNotZero(int num){
		if(num != 0){
			return true;
		}
		return false;
	}
	
	public static boolean isNotZero(long num){
		if(num != 0){
			return true;
		}
		return false;
	}
	
	public static boolean isNotZero(double num){
		if(num != 0){
			return true;
		}
		return false;
	}
}
